<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
		    <div id="student_zbtb">
		        <form id="student_zbForm" class="m10">
		           	<span>${term.termName}</span>
		            <select class="form-control1" name="grade" id="grade" onchange="searchClazz('student_zb',this.value)"></select>
		            <select class="form-control1" name="clazz" id="clazz"></select>
		                             学生姓名：
		            <input class="form-control1" type="text" name="studentName" id="studentName">
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('student_zb')">查询</a>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('student_zb')">重置</a><br/>
		        </form>
		    </div>
		    <table id="student_zbdg">
		        <thead>
		            <tr>
		                <th data-options="field:'grade',title:'年级号',width:50,formatter:function(value,row,index){
		                    return row.gradeName;
		                }"></th>
		                <th data-options="field:'clazz',title:'班号',width:50,editor:{
		                    type:'numberbox',options:{required:true}
		                }"></th>
		                <th data-options="field:'studentNum',title:'学号',width:50,editor:{
		                    type:'numberbox',options:{required:true}
		                }"></th>
		                <th data-options="field:'name',title:'姓名',width:50"></th>       
		            </tr>
		        </thead>
		        
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript">
		$(function(){
			var url = basePath + "/sys/student/change";
            initDatagridAdmin("student_zb",url,0,0,1,1,0);
            initGrade("student_zb");
	    })
	</script>
</body>
</html>